package com.macro.mall.mapper;

import com.macro.mall.model.XhsUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface XhsUserMapper {
    int insert(XhsUser record);
    int updateByPrimaryKey(XhsUser record);
    XhsUser selectByPrimaryKey(Long id);
    XhsUser selectByOpenId(String openId);
    XhsUser selectByPhoneNumber(String phoneNumber);
    List<XhsUser> selectAll();
    int deleteByPrimaryKey(Long id);
}
